﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="bmi.aspx.vb" Inherits="BMI.bmi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    Put your weight here <asp:TextBox ID="tb_weight" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="vld_weight" runat="server" 
        ControlToValidate="tb_weight" ErrorMessage="Weight must be less than 200" 
        MaximumValue="200" MinimumValue="0" Type="Double"></asp:RangeValidator>
    <br /><br />
    Put your height here <asp:TextBox ID="tb_height" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="vld_height" runat="server" 
        ControlToValidate="tb_height" ErrorMessage="Height must be less than 3" 
        MaximumValue="3" MinimumValue="0" Type="Double"></asp:RangeValidator>
    <br /><br />
    <asp:Button ID="btn_calculate" runat="server" Text="Button" /><br /><br />
    <asp:Label ID="lbl_result" runat="server" Text=""></asp:Label>

</asp:Content>
